sample mission+scripts by Softegg, softegg.ofp@gmx.de



my intention:
just for fun.
maybe this can be used in a intro or outro.



the batch:
6 words will appear at the sky, there are also some effects.



how it runs:
each word will be displayed trough a script.
the script creates flares for the dots and holds the flares up in the air.
the words must be available as a array of values.
here is a step by step description how to create this:

step 1: create the letters, like in a 'design-view'

(i used blanks for spaces, * for the dots, < for new line and X for end of text)

 **** *   * *   * *   * ****  * ***** ***** **** <
*     *  *   * *  *   * *   * *   *   *     *   *<
 ***  ***     *   * * * ****  *   *   ***   **** <
    * *  *    *   * * * * *   *   *   *     * *  <
****  *   *   *   ***** *  *  *   *   ***** *  * X

step 2: convert characters into numbers, because the script needs numbers

(spaces replaced with 0, dots replaced with 1, new line replaced with 2, end of text replaced with 3)

01111010001010001010001011110010111110111110111102
10000010010001010010001010001010001000100000100012
01110011100000100010101011110010001000111000111102
00001010010000100010101010100010001000100000101002
11110010001000100011111010010010001000111110100103

step 3: connect the several lines as 1 line.

0111101000101000101000101111001011111011111011110210000010010001010010001010001010001000100000100012011100111000001000101010111100100010001110001111020000101001000010001010101010001000100010000010100211110010001000100011111010010010001000111110100103

step 4: insert a comma between each number

0,1,1,1,1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,1,1,1,0,0,1,0,1,1,1,1,1,0,1,1,1,1,1,0,1,1,1,1,0,2,1,0,0,0,0,0,1,0,0,1,0,0,0,1,0,1,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,1,2,0,1,1,1,0,0,1,1,1,0,0,0,0,0,1,0,0,0,1,0,1,0,1,0,1,1,1,1,0,0,1,0,0,0,1,0,0,0,1,1,1,0,0,0,1,1,1,1,0,2,0,0,0,0,1,0,1,0,0,1,0,0,0,0,1,0,0,0,1,0,1,0,1,0,1,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,1,0,0,2,1,1,1,1,0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,1,1,1,1,0,1,0,0,1,0,0,1,0,0,0,1,0,0,0,1,1,1,1,1,0,1,0,0,1,0,3

step 5: add start+end brackets, that's it

[0,1,1,1,1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,1,1,1,1,0,0,1,0,1,1,1,1,1,0,1,1,1,1,1,0,1,1,1,1,0,2,1,0,0,0,0,0,1,0,0,1,0,0,0,1,0,1,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,1,2,0,1,1,1,0,0,1,1,1,0,0,0,0,0,1,0,0,0,1,0,1,0,1,0,1,1,1,1,0,0,1,0,0,0,1,0,0,0,1,1,1,0,0,0,1,1,1,1,0,2,0,0,0,0,1,0,1,0,0,1,0,0,0,0,1,0,0,0,1,0,1,0,1,0,1,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,1,0,0,2,1,1,1,1,0,0,1,0,0,0,1,0,0,0,1,0,0,0,1,1,1,1,1,0,1,0,0,1,0,0,1,0,0,0,1,0,0,0,1,1,1,1,1,0,1,0,0,1,0,3]


i have created a little exe-file which converts a txt-file with the designed text into the array of values.
the converter needs a input file with blanks for spaces and * for dots. new line and end of text are added by the converter itself.
it's a vb4-exe, i included also some dll's for this, which have to be placed in the windows-system-directory. existing dll's should not been replaced.
some different sample fonts can be found in the converter-directory too.



known problems/limitations:
255 values seems to be the limit for an array in ofp, so only 255 dots and spaces are possible for one word at one time.
the scripts only contains the formulas to display words at the northern sky.
some functions have to been added for other alignments.



finally:
feel free to use this for your missions, but don't forget to mention me as one source of your ideas.
comments, hints, suggestions, modifications desired.



thanks goes to:
lustypooh
CHARON
all others which offered samples or informations about triggers, objects, scripts.
